package example;

public class Plot4 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int runs = 5;
		String[] arguments3 = new String[3];
		String[] scoreArgs = new String[4];

		//fingerprintingKNN part
		for(int i = 1;i <= runs; i++){
			arguments3[0] = String.valueOf(i);		//k
			arguments3[1] = String.valueOf(100);	//iterations
			arguments3[2] = String.valueOf(5);		//samples
			fingerprintingKNN.main(arguments3);
			scoreArgs[0] = "fingerprintingKNN.txt";
			scoreArgs[1] = "scoreFingerKNN_k.txt";
			scoreArgs[2] = "median_fingerprintingKNN_k.txt";
			scoreArgs[3] = String.valueOf(i);
			ScoreNN.main(scoreArgs);
		}
		
		//modelKNN part
		for(int i = 1;i <= runs; i++){
			arguments3[0] = String.valueOf(i);		//k
			arguments3[1] = String.valueOf(100);	//iterations
			arguments3[2] = String.valueOf(5);		//samples
			ModelKNN.main(arguments3);
			scoreArgs[0] = "modelKNN.txt";
			scoreArgs[1] = "scoreModelNN_k.txt";
			scoreArgs[2] = "median_ModelKNN_k.txt";
			scoreArgs[3] = String.valueOf(i);
			ScoreNN.main(scoreArgs);
		}

	}
}
